package com.example.shop.service;

import com.example.shop.entity.Orders;
import com.example.shop.entity.Organizationtype;

import java.util.List;


/**
 * (Organizationtype)表服务接口
 *
 * @author makejava
 * @since 2025-03-26 09:26:38
 */
public interface OrganizationtypeService {

    /**
     * 通过ID查询单条数据
     *
     * @param organizationtypeid 主键
     * @return 实例对象
     */
    Organizationtype queryById(Integer organizationtypeid);

  
    /**
     * 新增数据
     *
     * @param organizationtype 实例对象
     * @return 实例对象
     */
    Organizationtype insert(Organizationtype organizationtype);

    /**
     * 修改数据
     *
     * @param organizationtype 实例对象
     * @return 实例对象
     */
    Organizationtype update(Organizationtype organizationtype);

    /**
     * 通过主键删除数据
     *
     * @param organizationtypeid 主键
     * @return 是否成功
     */
    boolean deleteById(Integer organizationtypeid);
    List<Organizationtype> queryAll();

}
